package com.woniuxy.bean;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class Person {
    private List<String> names;
    private Set<String> interests;
    private Map<String,String> jobs;
    private Properties wifes;

    public void setWifes(Properties wifes) {
        this.wifes = wifes;
    }

    public void setJobs(Map<String, String> jobs) {
        this.jobs = jobs;
    }

    public void setInterests(Set<String> interests) {
        this.interests = interests;
    }

    public void setNames(List<String> names) {
        this.names = names;
    }

    @Override
    public String toString() {
        return "Person{" +
                "names=" + names +
                ", interests=" + interests +
                ", jobs=" + jobs +
                ", wifes=" + wifes +
                '}';
    }
}
